<?php
class Ordermanager_Data_Getallorders implements Ordermanager_Data_Mainable{
    
    private $core_controller_selectdata;
    
    public function __construct() {
        $this->core_controller_selectdata = new Core_Controller_Selectdata;
    }


    public function main(array $variables = null) {
        $variables['query'] = "SELECT orders.email, orders.company_name, orders.order_date, orders.status_name, orders.id FROM orders ORDER BY orders.order_date DESC;";
        return $this->core_controller_selectdata->main($variables);
    }

}
